package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;


/**
 * 疾病信息对象 Disease
 *
 * @author ruoyi
 * @date 2023-07-04
 */


@TableName("Disease")
@ApiModel(value = "Disease对象", description = "疾病信息")
public class Disease implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @Excel(name = "id")
    @ApiModelProperty("id")
    @TableId(value = "Id", type = IdType.AUTO)
    private Long Id;

    /**
     * 疾病助记编码
     */
    @Excel(name = "疾病助记编码")
    @ApiModelProperty("疾病助记编码")
    @TableField("DiseaseCode")
    private String DiseaseCode;

    /**
     * 疾病名称
     */
    @Excel(name = "疾病名称")
    @ApiModelProperty("疾病名称")
    @TableField("DiseaseName")
    private String DiseaseName;

    /**
     * 国际ICD编码
     */
    @Excel(name = "国际ICD编码")
    @ApiModelProperty("国际ICD编码")
    @TableField("DiseaseICD")
    private String DiseaseICD;

    /**
     * 疾病所属分类id
     */
    @Excel(name = "疾病所属分类id")
    @ApiModelProperty("疾病所属分类id")
    @TableField("DiseaseTypeId")
    private Long DiseaseTypeId;

    /**
     * 删除标记
     */
    @ApiModelProperty("删除标记")
    @TableField("DelMark")
    private Long DelMark;

    @JsonProperty("Id")
    public Long getId() {
        return Id;
    }

    public void setId(Long Id) {
        this.Id = Id;
    }

    @JsonProperty("DiseaseCode")
    public String getDiseaseCode() {
        return DiseaseCode;
    }

    public void setDiseaseCode(String DiseaseCode) {
        this.DiseaseCode = DiseaseCode;
    }

    @JsonProperty("DiseaseName")
    public String getDiseaseName() {
        return DiseaseName;
    }

    public void setDiseaseName(String DiseaseName) {
        this.DiseaseName = DiseaseName;
    }

    @JsonProperty("DiseaseICD")
    public String getDiseaseICD() {
        return DiseaseICD;
    }

    public void setDiseaseICD(String DiseaseICD) {
        this.DiseaseICD = DiseaseICD;
    }

    @JsonProperty("DiseaseTypeId")
    public Long getDiseaseTypeId() {
        return DiseaseTypeId;
    }

    public void setDiseaseTypeId(Long DiseaseTypeId) {
        this.DiseaseTypeId = DiseaseTypeId;
    }

    @JsonProperty("DelMark")
    public Long getDelMark() {
        return DelMark;
    }

    public void setDelMark(Long DelMark) {
        this.DelMark = DelMark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("Id", getId())
                .append("DiseaseCode", getDiseaseCode())
                .append("DiseaseName", getDiseaseName())
                .append("DiseaseICD", getDiseaseICD())
                .append("DiseaseTypeId", getDiseaseTypeId())
                .append("DelMark", getDelMark())
                .toString();
    }
}

